/*
 * Created on Jan 8, 2005
 */
package org.vectrics.common.db;

import java.util.Comparator;

/**
 * @author MMoore

 */
public class ExpirableStartComparator implements Comparator {

	/**
	 * 
	 */
	public ExpirableStartComparator() {
		super();
	}

	public int compare(Object o1, Object o2) {
		Expirable expirable1 = (Expirable)o1;
		Expirable expirable2 = (Expirable)o2;
		return(expirable1.getDateStart().compareTo(expirable2.getDateStart()));
	}

}
